// routes/categories.route.js
const express = require('express');
const router = express.Router();
const categoryController = require('../controllers/category.controller');

// 示例路由
router.get('/', categoryController.getAllCategories);
router.post('/', categoryController.createCategory);

module.exports = router;